package com.tpr.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping
@Api(description="swagger测试接口HelloContorller",tags= {"HelloContorller"})
public class HelloContorller {
	@ApiOperation(value="获取所有信息接口",notes="swagger测试接口")
	@RequestMapping("index")
	public String index() {
		return "hello world";
		
	}
	
}
